import React from "react";
import { BrowserRouter as Router } from "react-router-dom";
import { renderRoutes } from "react-router-config";
import { routes } from "./routers";
import "./App.less";

const App = () => (
        <Router>
            {
                renderRoutes(routes)
            }
        </Router>
    );

export default App;
